package highlighter.ast.impl;

import highlighter.ast.IASTNode;
import highlighter.visitor.IASTVisitor;

public class NamespaceDef implements IASTNode {

	private Identifier id;
	private NamespaceBody body;
	
	public NamespaceDef(Identifier i, NamespaceBody b)
	{
		id = i;
		body = b;
	}

	public Identifier getId() {
		return id;
	}

	public NamespaceBody getClassBody() {
		return body;
	}
	
	@Override
	public Object accept(IASTVisitor visitor) {
		return visitor.visit(this);
	}

}
